body{
	color: #333;
	font-family: Arial, Verdana;
	font-size: 12px;
}

a{
	color: inherit;
}

img{
	vertical-align: middle;
	-ms-interpolation-mode: bicubic;
}

h1{
	font-size: 22px;
	margin: 4px 4px 4px 0;
}

h2{
	font-size: 18px;
	margin: 2px 2px 4px 0;
}

p{ line-height: 20px; }
pre, .monospace{ font-family: "Consolas", "FreeMono", "Monospace"; }
label{ font-weight: bold; }
input[type=text],
input[type=password]{
	margin: 3px;
	padding: 3px;
	outline: none;
	border: 1px solid #ccc;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-o-border-radius: 3px;
	-ms-border-radius: 3px;
	-khtml-border-radius: 3px;
}
input[type=text]:focus,
input[type=password]:focus{
	outline: none;
	border: 2px solid #2daebf;
	-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), inset 0 6px 10px rgba(0,0,0,0.2);
	-webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.hidden{ display: none; }

/*
 * CSS3 Buttons
 * Thanks go to ZURB
 */

.zurb, .zurb:visited {
	background: #222 url(../img/button.png) repeat-x; 
	display: inline-block; 
	padding: 5px 10px 6px; 
	color: #fff; 
	text-decoration: none;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
	border-bottom: 1px solid rgba(0,0,0,0.25);
	position: relative;
	cursor: pointer;
}
.zurb:hover{ background-color: #111; color: #fff; }
.zurb:active{ top: 1px; }
.small.zurb, .small.zurb:visited{ font-size: 11px; padding: 5px; }
.zurb, .zurb:visited,
.medium.zurb, .medium.zurb:visited{ font-size: 13px; font-weight: bold; line-height: 1; text-shadow: 0 -1px 1px rgba(0,0,0,0.25); }
.large.zurb, .large.zurb:visited { font-size: 14px; padding: 8px 14px 9px; }
.green.zurb, .green.zurb:visited{ background-color: #91bd09; }
.green.zurb:hover{ background-color: #749a02; }
.blue.zurb, .blue.zurb:visited{ background-color: #2daebf; }
.blue.zurb:hover	{ background-color: #007d9a; }
.navy.zurb, .navy.zurb:visited{ background-color: #0F2C52; }
.navy.zurb:hover{ background-color: #001345; }
.red.zurb, .red.zurb:visited{ background-color: #e33100; }
.red.zurb:hover{ background-color: #872300; }
.magenta.zurb, .magenta.zurb:visited{ background-color: #a9014b; }
.magenta.zurb:hover{ background-color: #630030; }
.orange.zurb, .orange.zurb:visited{ background-color: #ff5c00; }
.orange.zurb:hover{ background-color: #d45500; }
.yellow.zurb, .yellow.zurb:visited{ background-color: #ffb515; }
.yellow.zurb:hover{ background-color: #fc9200; }

/*------------------------------------
 * Sort-of unobtrusive alerts, ported from G3
 */
.alert-msg-box {
	padding: 3px;
	-moz-box-shadow: 0 0 9px #242424;
	-webkit-box-shadow: 0 0 9px #242424;
	box-shadow: 0 0 9px #242424;
	-moz-border-radius: 9px;
	-webkit-border-radius: 9px;
	color: #FFF;
	background: #242424;
	width: 85%;
	z-index: 755;
	text-align: center;
	position: absolute;
	top: 35%;
	left: 10%;
	opacity: 0.95;
	display: none;
}

.error-msg-box {
	-moz-box-shadow: 0 0 9px #903;
	-webkit-box-shadow: 0 0 9px #903;
	box-shadow: 0 0 9px #903;
	background: #903;
}

.success-msg-box {
	-moz-box-shadow: 0 0 9px #253C08;
	-webkit-box-shadow: 0 0 9px #253C08;
	box-shadow: 0 0 9px #253C08;
	background: #253C08;
	color: #FFF;
}


/*
 * Header Elements.
 */
#top{
	background: #113854;
	padding: 4px;
}

	#userinfobox{
		background: #144162;
		color: #FFF;
		font-weight: bold;
		margin: 5px;
		padding: 4px;
	}

	#userinfobox a{
		color: #FFF;
		text-decoration: none;
	}

#navmenu {
	background: #164567;
	color: #FFF;
	padding: 5px;
	padding-bottom: 3px;
	text-decoration: none;
}

#navmenu a{
	text-decoration: none;
}

#navmenu .navmenu-item {
	display: inline;
	padding: 6px;
	margin-right: 2px;
	margin-bottom: 0;
}

#navmenu .navmenu-item.active,
#navmenu .navmenu-item:hover {
	background: #FFF;
	color: #000;
	-moz-border-radius-topleft: 6px; /* Gecko */
	-moz-border-radius-topright: 6px;
	-webkit-border-top-left-radius: 6px; /* Chrome/Safari */
	-webkit-border-top-right-radius: 6px;
	-khtml-border-top-left-radius: 6px; /* Konqueror */
	-khtml-border-top-right-radius: 6px;
	border-top-left-radius: 6px; /* CSS3 default; IE9 */
	border-top-right-radius: 6px;
}

/*
 * Container and content styles (Main)
 */
#container{
	margin: 15px auto 0 auto;
	width: 95%;
}

	/*
	 * Some Infobox Styles
	 */
	.error,
	.warning,
	.success,
	.info,
	.misc{
		border-radius: 6px;
		-moz-border-radius: 6px;
		-webkit-border-radius: 6px;
		-o-border-radius: 6px;
		text-shadow: 0px 1px 0px rgba(255,255,255,0.8);
		margin: 5px;
		padding: 3px;
	}
	
	.error{
		background-color: #ffe8e8;
		color: #dd4444;
		border: 1px solid #ffcaca;
	}

	.warning{
		background: #FDFEDE;
		color: #222;
		border: 1px solid #FED87E;
	}

	.success{
		background: #F1F6EC;
		color: #3E4934;
		border: 1px solid #B0CE94;
	}

	.info{
		background: #DBECF9;
		color: #222;
		border: 1px solid #A8C7EA;
	}
	
	.misc{
		background: #F7F7F7;
		color: #222;
		border: 1px solid #CCC;
	}
	
/*
 * Table styles
 */
.table_container {
	border: 1px solid #CCC;
	margin: 4px;
}

.table_top{
	background: #364F6F;
	color: #fff;
	padding: 5px;
}

.table_top_icon{ float: right; }

.table_content_padded {
	padding: 5px;
}

/*
 * Pagination Link Styles
 * "and the rain will kill us all.."
 */
.pagination_links {
	margin: 9px;
	padding: 3px;
}

.pagination_link {
	background: #f7f7f7;
	border: 1px solid #e7e7e7;
	padding: 4px;
	margin: 2px;
}

.pagination_link_active {
	background: #00315C;
	color: #FFF;
	font-weight: bold;
}

.pagination_link:hover {
	background: #005098;
	color: #fff;
}
	
/*
 * Dropdown Menu Styles
 */

.dropdown-anchor{
	background: url(../img/dropbg.gif) repeat-x #FFF;
	padding: 3px;
	border: 1px solid #CCC;
	color: #333;
	margin-bottom: 0;
	width: 150px;
	position: relative;
}

.dropdown-menu{
	background: #144162;
	margin: 0;
	padding: 0;
	display: none;
	-moz-box-shadow: 0px 2px 6px #144162;
	-webkit-box-shadow: 0px 2px 6px #144162;
	box-shadow: 0px 2px 6px #144162;
	z-index: 10000;
	opacity: 0.90;
	position: absolute;
}

.dropdown-menu-item{
	padding: 4px;
	color: #FFF;
	width: 150px;
}

.dropdown-menu-item a { font-weight: bold; }

.dropdown-menu-item:hover{
	text-shadow: 0 0 6px #fff;
}

.dropdownicon{
	float: right;
}

/*
 * Footer Styles
 */
#debugbar{
	background: #144162;
	color: #FFF;
	margin: 5px auto 0 auto;
	padding: 4px;
	width: 98%;
}

/* Debug Styles */
	.debugcontainer {
		border: 1px dashed #144162;
		width: 95%;
		margin: 20px auto 0 auto;
	}
	
	.debughead {
		background: #144162;
		color: #FFF;
		font-weight: bold;
		padding: 6px;
	}
	
	.debugsubhead {
		background: #39607D;
		color: #FFF;
		padding: 3px;
	}
	
	pre.debugquery {
		height: 15px;
		overflow-y: scroll;
	}
	
	.debugdata {
		padding: 5px;
	}

#copyright{
	border-top: 1px solid #CCC;
	color: #424242;
	margin: 5px auto 0 auto;
	padding: 4px;
	text-align: center;
	width: 95%;
}

#copyright a{ text-decoration: none; }
